package day03;

import java.util.Scanner;

public class looptest3 {                            //找质数
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("Enter number");
        int x = sc.nextInt();
        boolean flag = false;
        for (int i = 2; i < x; i++){
            if (x%i==0) {
                flag = true;
                break;
            }
        }
        System.out.println(flag);
    }
}
